package cn.zqh.commodity.config;

import feign.Logger;
import feign.codec.Decoder;
import org.springframework.context.annotation.Bean;

public class DefaultFeignConfiguration {
//    日志
    @Bean
    public Logger.Level logLevel(){
        return Logger.Level.BASIC;
    }


//    自定义解码
    @Bean
    public Decoder decoder() {
        return new CustomDecoderConfig();
    }

}
